package fun.lifepoem.blog.mapper;

import fun.lifepoem.blog.domain.CommitRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 55971
 * @description 针对表【commit_record】的数据库操作Mapper
 * @createDate 2022-11-03 23:06:42
 * @Entity fun.lifepoem.blog.domain.CommitRecord
 */
@Repository
public interface CommitRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(CommitRecord record);

    int insertSelective(CommitRecord record);

    CommitRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CommitRecord record);

    int updateByPrimaryKey(CommitRecord record);

    int insertBatch(@Param("commitRecords") List<CommitRecord> commitRecords);

    List<CommitRecord> selectByCommitRecord(@Param("record") CommitRecord commitRecord);

    int updateBatch(@Param("ids") List<String> ids, @Param("record") CommitRecord commitRecord);
}
